package com.mybatis.config.mapper;


import com.mybatis.config.enity.Department;

import java.util.List;

/**
 * @author gaoxu
 * date: Created on 2021/11/4 上午10:40
 */
public interface DepartmentMapper {

    List<Department> findAll();

    int insert(Department department);

    int update(Department department);

    int deleteById(String id);

    Department findById(String id);
}
